package com.myz.app.example.mapper;

import com.myz.app.example.po.Resource;

import java.util.List;

/**
 * @author maoyz on 18-4-9.
 */
public interface ResourceMapper {

    Resource createResource(Resource resource);

    Resource updateResource(Resource resource);

    void deleteResource(Long resourceId);

    Resource findOne(Long resourceId);

    List<Resource> findAll();
}
